package com.etime.perfectschool.service;


import com.etime.perfectschool.pojo.NewsPhoto;

import java.util.List;

public interface NewsPhotoService {
    //添加某条新闻的图片
    int insertNewsPhoto(NewsPhoto newsPhoto);
    //查询某条新闻的全部照片
    List<NewsPhoto> getAllNewsPhotoByNewsId(int newsId);
    //删除某张图片
    boolean deleteNewsPhotoById(int newsId);
    //修改新闻图片
    boolean updateNewsPhoto(NewsPhoto newsPhoto);
}
